#include "log/include/log.h"
#include <atomic>
#include <functional>
#include <future>
#include <memory>
#include <queue>
#include <vector>
#include <thread>
#include <unordered_map>
#include <unordered_set>
#include <type_traits>
#include <utility>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include <map>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <string>


typedef const uint8_t c_uint8_t;
typedef const long long const_ll;
typedef const int c_int;
typedef const uint64_t c_uint64_t;
typedef const size_t c_size_t;
typedef const double c_double;
typedef std::chrono::steady_clock Clock;

#define ONE 1
#define SLEEPTIME 10 //��������̷߳�����ʱ�������Ϊ�պ�����ʱ��  ��


namespace xxhhdzl
{
	namespace
	{

		//�����ִ��״̬
		enum executionStatus
		{
			CLOSE,
			EXECUTION,
			WAIT
		};

		//Ĭ��cpu������
		static c_int CPU_NUMBER_CORE = 4;

		//�̳߳�����
		enum threadPoolType
		{
			CPU, //cpu�ܼ��ͣ� �д������㣬���ȴ�io��Դ
			IO, //io�ܼ��ͣ� ��ȴ�io��Դ����http���ļ���ȡ��
			MIXED, //�����
			STATIC  // ��̬�̳߳أ��̲߳�������̬�仯
		};

		double smoothingCoefficient = 0.0;    //ƽ��ϵ��

		int batchSize = 32; //Ĭ���̱߳��ػ���32
	}
}

